home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / msdos / lynx / source / doslynx / inc / tdoslynx.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-25  |  1.4 KB  |  60 lines

  1. #ifndef __TDOSLYNX_H
  2. //    Avoid include redundancy
  3. #define __TDOSLYNX_H
  4.  
  5. //    Copyright (c) 1993, University of Kansas, All Rights Reserved
  6. //
  7. //    Include File:    TDosLynx.h
  8. //    Purpose:    Declare the TDosLynx class
  9. //    Remarks/Portability/Dependencies/Restrictions:
  10. //    Revision History:
  11. //        12-09-93
  12.  
  13. //    Constant defines
  14. #define Uses_TApplication
  15. #define Uses_TStatusLine
  16. #define Uses_TMenuBar
  17. #define Uses_TEvent
  18.  
  19. //    Required includes
  20. #include<tv.h>
  21. #include"THeapVie.h"
  22. #include"TClockVi.h"
  23. #include"tsockvie.h"
  24. #include"tdiskvie.h"
  25.  
  26. //    Class declaraions
  27. class TDosLynx : public TApplication    {
  28. public:
  29.     TDosLynx(int i_argc, char **cpp_argv);
  30.     ~TDosLynx();
  31.     static TStatusLine *initStatusLine(TRect TR_r);
  32.     static TMenuBar *initMenuBar(TRect TR_r);
  33.     static TDeskTop *initDeskTop(TRect TR_r);
  34.     virtual void idle();
  35.     virtual void handleEvent(TEvent& TE_Event);
  36.     virtual void getEvent(TEvent& TE_Event);
  37.     virtual void outOfMemory();
  38. private:
  39.     THeapView *THV_heap;
  40.     TClockView *TCV_clock;
  41.     TSockView *TSV_sock;
  42.     TDiskView *TDV_disk;
  43.     void EvalOption(int i_sequence, char *cp_argument);
  44.     void OpenURL(const char *cp_URL = NULL);
  45.     void OpenLocal(const char *cp_path = NULL);
  46.     TView *TVp_ToBeRemoved;
  47.     char *cp_ToBeViewed;
  48.     void EvalConfigFile();
  49.     void mailDeveloper();
  50.     void switchVideo();
  51.     Boolean B_isLow;
  52.     Boolean B_loadHome;
  53. };
  54.  
  55. //    Global variable declarations
  56.  
  57. //    Macros/Inline code
  58.  
  59. #endif // __TDOSLYNX_H
  60.